Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WML-269] Add non-spark and non-dynamoDB and non-Flyte persistence method (shuffling) #29

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

pickles-bread-and-butter
Copy link
Collaborator

@pickles-bread-and-butter pickles-bread-and-butter commented Oct 5, 2022

Overview:

Add a method to persist data with shuffling using only s3 (no Flyte, DynamoDB, no spark). This is done by just using random.shuffle to shuffle the dataset if shuffle bool is True. This runs in O(N) time, the next step to get us more efficient is multi-proc this piece but that will be the next PR.

Changes:

  • Adds shuffle variable and simple call to BasicPersistor
  • Adds test to ensure shuffling of partitions occurs
  • Adds some basic syntax changes to other files to clean them up a bit

@pickles-bread-and-butter pickles-bread-and-butter changed the base branch from main to feature/sparkless_persistence October 5, 2022 18:00
@varshaparthay
Copy link
Contributor

@isaak-willett - Just to confirm -is this a non-compatible change for existing wicker users? should customers have to update any of their workflows for this change?

@pickles-bread-and-butter
Copy link
Collaborator Author

Nope they can use the version of wicker they are still using. It's new feature because it's a new class, it's compatible with old versions of datasets too.

Base automatically changed from feature/sparkless_persistence to main October 26, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants